
#ifndef _OSAPI_MUTEX_H
#define _OSAPI_MUTEX_H

typedef struct  
{
	void* pPriv;
}os_mutex_t;

int os_mutex_create(os_mutex_t* m);
void os_mutex_destroy(os_mutex_t* m);

int os_mutex_lock(os_mutex_t* m);
int os_mutex_trylock(os_mutex_t* m);
void os_mutex_unlock(os_mutex_t* m);

#endif
